﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class FirstForm : Form
    {
        public FirstForm()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void button4_Click(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

           
        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            var Answer = textBox1.Text;
            var answer = "鸵鸟";
            if (Answer == answer)
            {
                MessageBox.Show("回答正确，进入第二关！");
                SecondForm secondForm = new SecondForm();
                this.Hide();
                secondForm.Show();
            }
            else
            {
                MessageBox.Show("回答错误，你就是猪！");
            }
        }
    }
}
